例文
- As Tevildo says, this way of constructing dynamic SQL statements is not best practice, especially without sanitising the inputs, but if you're going to do it then you would need to set $ fixed _ date to either ( the string ) NULL or ( e . g . )'2016-05-01'( including the quotes ) and not use the quotes in the $ query = . . . statement . talk ) 10 : 15, 30 April 2016 ( UTC)